I have never understood the difference between mysql and mysql when reading books or watching videos. So let's make a look at Google tonight. For more information, see.
I have never understood the difference between mysql and mysql when reading
I:PHP-MySQL is the most primitive Extension for PHP to operate MySQL databases. I of PHP-MySQLi stands for Improvement and provides more advanced functions. Extension also increases security. The PDO (PHP Data Object) provides an action Layer to
Share an example of PHP using the Mysqli class, and attach the method description in the Mysqli class, very comprehensive, a friend of the need to refer to it.PHP calls the example of the Mysqli class with the following code:
Set_charset
phpMyAdmin error is missing mysqli extension. Please check the solution for the PHP configuration
phpMyAdmin is missing mysqli extension. Check the solution for your PHP configuration:The mysqli extension is missing. Check your PHP configuration.
At some point, for example, when installing Statusnet, an error occurs:
Cannot find a database extension. Need at least one of mysqli, Pgsql
This shows that there is no mysqli or pgsql extension in PHP, and here is a description of the MYSQLI
Download and install mysqli extensionInstall mysqli:Wget-c http://hubeidc.com/dl/wdcp/mysqli/mysqli_ins.sh & chmod 755 mysqli_ins.sh &./mysqli_ins.shIn this case, there will be no installation errors, and some hosts of the official scripts will
This class library is simple, easy to use, easy to modify and improve your functionality, and can solve the SQL operations that are performed in most PHP projects.
Preliminary work
First of all, please download this class library m.class.php and
Differences between phpmysqli and mysql
This article introduces some differences between mysqli and mysql in php. if you have any need, you can make a reference.I. PHP-MySQL is the original Extension for PHP to operate MySQL databases. I of
Suddenly want to add a module to PHP, but do not want to recompile PHP, because the real comparison cost time.
Phpize can solve this problem.
CD to PHP's source code directory, into ext.
For example, my work as a need to append mysqli module,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.